import request from '@/utils/request'

// 查询技师统计列表
export function listTechnicianStatistics(query) {
  return request({
    url: '/technicianStatistics/technicianStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询技师统计详细
export function getTechnicianStatistics(id) {
  return request({
    url: '/technicianStatistics/technicianStatistics/' + id,
    method: 'get'
  })
}

// 新增技师统计
export function addTechnicianStatistics(data) {
  return request({
    url: '/technicianStatistics/technicianStatistics',
    method: 'post',
    data: data
  })
}

// 修改技师统计
export function updateTechnicianStatistics(data) {
  return request({
    url: '/technicianStatistics/technicianStatistics',
    method: 'put',
    data: data
  })
}

// 删除技师统计
export function delTechnicianStatistics(id) {
  return request({
    url: '/technicianStatistics/technicianStatistics/' + id,
    method: 'delete'
  })
}


//技师统计
export function technicianStatistics() {
  return request({
    url: '/technicianStatistics/technicianStatistics',
    method: 'post'
  })
}

//技师统计
export function catchTeach() {
  return request({
    url: '/technicianStatistics/technicianStatistics',
    method: 'get'
  })
}

//技师统计
export function technicianDistribution() {
  return request({
    url: '/technicianStatistics/technicianStatistics/technicianDistribution',
    method: 'get'
  })
}

